package com.jacob.cloud.mall.cartorder.feign;

import com.jacob.cloud.mall.user.model.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpSession;

/**
 * @ClassName UserFeignClient
 * @Description User模块Feign客户端
 * @Author dust_fall
 * @Date 2022/7/3 21:47
 * @Version 1.0
 */
@FeignClient(value = "mall-cloud-user")
public interface UserFeignClient {

    /**
     * 获取当前登录用户对象
     * @return
     */
    @GetMapping("/getUser")
    public User getUser();

}
